//
//  IconPointButton.m
//  TerritoryShopkeeper
//
//  Created by 李小龙 on 2018/1/19.
//  Copyright © 2018年 ZDQK. All rights reserved.
//

#import "IconPointButton.h"

@implementation IconPointButton


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
    self.redPoint.mj_x = self.size.width-4;
    self.redPoint.mj_y = self.imageView.mj_y-2;
    [self.redPoint.layer setCornerRadius:self.redPoint.height/2.0];
}


@end
